﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace VietGlobalSoft.SellsManagement.App
{
    public partial class ucHoaDonMuaHang : UserControl
    {
        public ucHoaDonMuaHang()
        {
            InitializeComponent();
        }

        private void ucHoaDonMuaHang_SizeChanged(object sender, EventArgs e)
        {
            pnBottom.Height = this.Height - pnTop.Height-2;
        }

        private void pnTop_SizeChanged(object sender, EventArgs e)
        {
            pnLeft.Width = pnTop.Width - pnRight.Width-10;

            cbbTenKH.Width = pnTop.Width - 499;
            txtDiaChi.Width = pnTop.Width - 308;
            txtNguoiLH.Width = pnTop.Width - 713;
            txtGhiChu.Width = pnTop.Width - 297;
        }
    }
}
